﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CalyxCFTestWebHost.RequestHandlers
{
	public class GetBorrowers : Calyx.Communication.Framework.ServerSide.Messaging.RequestHandler<CalyxCFRequestsAndResponses.GetBorrowerI>
	{  
		public override Calyx.Communication.Framework.Common.Messaging.Response Handle( CalyxCFRequestsAndResponses.GetBorrowerI request )
		{
			var response = new CalyxCFRequestsAndResponses.GetBorrowerO();
			response.MyBorrower = new CalyxCFTestEntities.Borrower()
			{
				FirstName = "Marilyn",
				LastName = "Manson"
			};
			return response;
		}
	}

}
